home *** CD-ROM | disk | FTP | other *** search
/ Linear Technology Linearview 1996 / linearview 1996.iso / spice / cpnom.lib < prev    next >
Encoding:
Text File  |  1996-07-09  |  2.2 KB  |  65 lines

  1. * Library of Comparator subcircuit definitions
  2. *
  3. * This is a reduced version of MicroSim's voltage comparator subcircuit
  4. *   library.  You are welcome to make as many copies of it as you find
  5. *   convenient.
  6. *
  7. * Release date: 87/06/22
  8. *
  9. * The parameters in this opamp library were derived from the data
  10. * sheets for each part.  The comparator macro model used is derived
  11. * from the op amp macro model used in the OPNOM.LIB file.  The op amp
  12. * macro model is described in:
  13. *
  14. *    Macromodeling of Integrated Circuit Operational Amplifiers
  15. *        by Graeme Boyle, Barry Cohn, Donald Pederson, and
  16. *           James Solomon
  17. *    IEEE Journal of Solid-State Circuits, Vol. SC-9, no. 6,    Dec. 1974
  18. *
  19. * Although we do not use it, a slightly more elaborate comparator macro
  20. * model is described in:
  21. *
  22. *    An Integrated-Circuit Comparator Macromodel
  23. *        by Ian Getreu, Andreas Hadiwidjaja, and Johan Brinch
  24. *    IEEE Journal of Solid-State Circuits, Vol. SC-11, no. 6, Dec. 1976
  25. *
  26. * This reference covers the considerations that go into duplicating the
  27. * behavior of voltage comparators.
  28. *
  29. * The comparators are modelled at room temperature.  The macro model
  30. * does not track changes with temperature.  This library file contains
  31. * models for nominal, not worst case, devices.
  32. *
  33. *-----------------------------------------------------------------------------
  34. * connections:   non-inverting input
  35. *                | inverting input
  36. *                | | positive power supply
  37. *                | | | negative power supply
  38. *                | | | | open collector output
  39. *                | | | | | output ground
  40. *                | | | | | |
  41. .subckt LM111    1 2 3 4 5 6
  42. *
  43.   f1    9  3 v1 1
  44.   iee   3  7 dc 100.0E-6
  45.   vi1  21  1 dc .45
  46.   vi2  22  2 dc .45
  47.   q1    9 21  7 qin
  48.   q2    8 22  7 qin
  49.   q3    9  8  4 qmo
  50.   q4    8  8  4 qmi
  51. .model qin PNP(Is=800.0E-18 Bf=833.3)
  52. .model qmi NPN(Is=800.0E-18 Bf=1002)
  53. .model qmo NPN(Is=800.0E-18 Bf=1000 Cjc=1E-15 Tr=118.8E-9)
  54.   e1   10  6  9  4  1
  55.   v1   10 11 dc 0
  56.   q5    5 11  6 qoc
  57. .model qoc NPN(Is=800.0E-18 Bf=34.49E3 Cjc=1E-15 Tf=364.6E-12 Tr=79.34E-9)
  58.   dp    4  3 dx
  59.   rp    3  4 6.122E3
  60. .model dx  D(Is=800.0E-18)
  61. *
  62. .ends
  63. *
  64. * End of library file
  65.